<?php defined('SYSPATH') or die('No direct script access.');
 
class Submenu_Model extends ORM {
 	//relacionamentos
 	//varios para um -> tabelas no singular
	protected $belongs_to = array('menu');
 
	/**
	 * An array of sorting parameters that should be applied to queries. 
	 * By default, results are sorted by id ASC. You can add multiple 
	 * columns and directions to this property.
	 */
	protected $sorting = array('ordem' => 'desc');
	
}